package com.lam.dormitory.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DormitoryServiceVo {
    @ExcelIgnore
    private Long dorId;
    @ExcelProperty("宿舍服务号")
    private Long dsId;

    @ExcelProperty("宿舍楼")
    private Integer buildingNo;
    @ExcelProperty("宿舍号")
    private Integer dorNo;
    @ExcelProperty("月份")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM")
    private Date dsMonth;
    @ExcelProperty("电费")
    private BigDecimal dsElectricBill;
    @ExcelProperty("电费详情(度)")
    private String dsElectricBillDetail;
    @ExcelProperty("水费")
    private BigDecimal dsWaterBill;
    @ExcelProperty("水费详情(吨)")
    private String dsWaterBillDetail;
    @ExcelProperty("网费")
    private BigDecimal dsInternetBill;
    @ExcelProperty("网费详情(包月 包年 包学期)")
    private String dsInternetBillDetail;
    @ExcelProperty("宿舍卫生等级 1优2良3差")
    private Integer dsDorHygiene;
    @ExcelProperty("宿舍卫生详情")
    private String dsDorHygieneDetail;

    @ExcelProperty("状态")
    private Integer status;
}
